﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CustomerSlip.aspx.cs" Inherits="Tailor_CustomerSlip" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Belmonte</title>
    <style type="text/css">
    .gridCss td{padding:5px;}
    .gridCss th{padding:5px;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div align="center">
        <table>
            <tr>
                <td>
                    <img src="../images/CustomerSlipTailor.png" />
                </td>
            </tr>
            <tr>
                <td align="right" >
                    <table>
                        <tr>
                            <td align="right" colspan="2" style="background-color:Gray;color:White;padding:5px;">Customer Copy</td>
                        </tr>
                    </table>
                    </td>
            </tr>
            <tr>
                <td>
                    
                    <table width="100%">
                        <tr>
                            <td>অর্ডার নাম্বার</td>
                            <td>:</td>
                            <td>
                                <asp:Label ID="lblOrderNo" runat="server" Text=""></asp:Label>
                            </td>
                           <td>
                                অর্ডার ডেট
                            </td>
                            <td>:</td>
                            <td>
                                <asp:Label ID="txtOrderDate" runat="server"></asp:Label>
                                
                            </td>
                        </tr>
                       
                        <tr>
                            <td>
                                ট্রায়াল ডেট
                            </td>
                            <td>:</td>
                            <td>
                                <asp:Label ID="txtTrialDate" runat="server"></asp:Label>
                                
                            </td>
                       
                            <td>
                                ডেলিভারি ডেট
                            </td>
                            <td>:</td>
                            <td>
                                <asp:Label ID="txtDelivaryDate" runat="server"></asp:Label>
                               
                            </td>
                        </tr>
                         <tr>
                          <td>
                                কাস্টমার নাম
                            </td>
                            <td>:</td>
                            <td>
                                <asp:Label ID="txtCustomerName" runat="server"></asp:Label>
                            </td>
                             <td>
                                কাস্টমার ফোন
                            </td>
                            <td>:</td>
                            <td>
                                <asp:Label ID="txtCustomerPhone" runat="server"></asp:Label>
                            </td>
                        
                           
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                <asp:GridView ID="gvOrderDetails" runat="server" AutoGenerateColumns="false" CssClass="gridCss"
                    ShowFooter="true">
                        <Columns>
                            <asp:TemplateField HeaderText="Item">
                                <ItemTemplate>
                                    <asp:Label ID="lblProduct" Font-Size="15px" runat="server" Text='<%#Eval("ProductName") %>'>
                                    </asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="মাপ">
                                <ItemTemplate>
                                    <asp:Label ID="lblMeasurement" Font-Size="15px" runat="server" Text='<%#Eval("ExtraField1") %>'>
                                    </asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="ডিজাইন">
                                <ItemTemplate>
                                   <asp:Label ID="lblDesign" Font-Size="15px" runat="server" Text='<%#Eval("ExtraField2") %>'>
                                    </asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="ডিজাইন-মাপ">
                                <ItemTemplate>
                                   <asp:Label ID="lblDesign_measurement" Font-Size="15px" runat="server" Text='<%#Eval("ExtraField4") %>'>
                                    </asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="মাস্টার কল">
                                <ItemTemplate>
                                    <asp:Label ID="lblMasterkol" Font-Size="15px" runat="server" Text='<%#Eval("ExtraField3") %>'>
                                    </asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Note">
                                <ItemTemplate>
                                    <asp:Label ID="lblNote" Font-Size="15px" runat="server" Text='<%#Eval("Note") %>'>
                                    </asp:Label>
                                </ItemTemplate>
                                <FooterTemplate>
                                   সর্বমোট 
                                </FooterTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="সংখ্যা">
                                <ItemTemplate>
                                    <asp:Label ID="lblQty" Font-Size="15px" runat="server" Text='<%#Eval("Quantity") %>'>
                                    </asp:Label>
                                </ItemTemplate>
                                <FooterTemplate>
                                    <asp:Label ID="lblTotalQty" Font-Size="15px" runat="server" >
                                    </asp:Label>
                                </FooterTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="চার্জ">
                                <ItemTemplate>
                                    <asp:Label ID="lblCharge" Font-Size="15px" runat="server" Text='<%#Eval("Charge","{0:0,0}") %>'>
                                    </asp:Label>
                                </ItemTemplate>
                                <FooterTemplate>
                                    <asp:Label ID="lblTotalCharge" Font-Size="15px" runat="server" >
                                    </asp:Label>
                                </FooterTemplate>
                            </asp:TemplateField>
                            
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <table>
                     <%--<tr>
                        <td>
                                অর্ডার সংখ্যা
                            </td>
                            <td>
                                <asp:Label ID="txtTotalQty" runat="server" Enabled="false"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                সর্বমোট
                            </td>
                            <td>
                                <asp:Label ID="txtTotalCharge" runat="server" Enabled="false"></asp:Label>
                            </td>
                        </tr>--%>
                        <tr>
                            <td>
                                ফেব্রিক্স ডিউ
                            </td>
                            <td>:</td>
                            <td align="right">
                                <asp:Label ID="txtFabricDue" runat="server" Text="0"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                ডিজাইন চার্জ
                            </td>
                            <td>:</td>
                            <td align="right">
                                <asp:Label ID="txtDesignCharge" runat="server" Text="0"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                ডিসকাউন্ট
                            </td>
                            <td>:</td>
                            <td align="right">
                                <asp:Label ID="txtDiscount" runat="server" Text="0" ></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                মোট টাকা
                            </td>
                            <td>:</td>
                            <td align="right">
                                <asp:Label ID="txtTotalPayable" runat="server" Text="0"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                জমা(নগদ টাকা)
                            </td>
                            <td>:</td>
                            <td align="right">
                                <asp:Label ID="txtPaymentCash" runat="server" Text="0"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                জমা(কার্ড DBBL)
                            </td>
                            <td>:</td>
                            <td align="right">
                                <asp:Label ID="txtPaymentCardDBBL" runat="server" Text="0"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                জমা(কার্ড CITY)
                            </td>
                            <td>:</td>
                            <td align="right">
                                <asp:Label ID="txtPaymentCardCITY" runat="server" Text="0"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                বাকি
                            </td>
                            <td>:</td>
                            <td align="right">
                                <asp:Label ID="txtDUE" runat="server" Text="0"></asp:Label>
                            </td>
                        </tr>
                    
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center">
                    Footer Note
                </td>
            </tr>
        </table>
    </div>
   
    </form>
</body>
</html>
